package com.turing.draw.service.impl;

import com.turing.draw.dao.DrawTaskMapper;
import com.turing.draw.model.domain.DrawTask;
import com.turing.draw.service.ReviewTaskService;
import com.turing.draw.service.ProductTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.support.TransactionTemplate;

@Service
public class ReviewTaskServiceImpl implements ReviewTaskService {

    /**
     * drawTaskMapper
     */
    @Autowired
    private DrawTaskMapper drawTaskMapper;

    /**
     * 事务管理对象
     */
    @Autowired
    private TransactionTemplate transactionTemplate;

    @Autowired
    private ProductTaskService productTaskService;



    private void updateTask(DrawTask update){
        drawTaskMapper.updateById(update);
    }

}
